package cn.com.dcsgo.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 购物车
 * @TableName basket
 */
@TableName(value ="basket")
@Data
public class Basket {
    /**
     * 主键
     */
    @TableId(type = IdType.AUTO)
    private Long basketId;

    /**
     * 店铺ID
     */
    private Long shopId;

    /**
     * 产品ID
     */
    private Long prodId;

    /**
     * SkuID
     */
    private Long skuId;

    /**
     * 用户ID
     */
    private String openId;

    /**
     * 购物车产品个数
     */
    private Integer prodCount;

    /**
     * 购物时间
     */
    private Date createTime;
}